const routes = [
  {
    path:"/",
    redirect:"/Home"
  },
  {
    path: '/Home',
    name: 'home',
    component: () => import('../views/home/home.vue')
  },
  {
    path: '/Login',
    name: 'login',
    component: () => import('../views/login/login.vue')
  },
  {
    path: '/Info/:productID',
    name: 'info',
    component: () => import('../views/info/info.vue'),
    meta:{
      title:"详情"
    }
  },
  {
    path: '/Cart',
    name: 'cart',
    component: () => import('../views/cart/cart.vue'),
    meta:{
      title:"购物车"
    }
  },
]
export default routes
